On the Subject of the Coral Cipher
“Coral!” - Rick Grimes
On the module, you will see 3 screens, a keyboard, 2 arrows, and a submit button that displays the current page you’re on.
Pressing the right arrow takes you to the next page. Pressing the left arrow takes you to the previous page. There is a total of 2 pages.
On page 1, the top screen shows a 6 letter encrypted word, the middle screen displays an keyword, and the bottom screen shows a number.
The top screen of page 2 displays another keyword.
Follow the mechanics down below to decrypt your word:
Step 1: Prissy Cipher
Take the keyword from the middle screen on page 1, remove any duplicate letters while keeping the 1st occurrence. Take the entire alphabet and remove all the letters shown in the keyword.
If the number of ports is odd, put the alphabet at the end of the keyword. Otherwise, put the alphabet in front of the keyword. Then split the key in half, placing the 2nd half underneath the 1st half.
Starting with an offset of the serial number’s 4th character (A = 1,B = 2...Z = 26), modulo 13, do the following instructions for each letter of the encrypted word:
- Find the Nth letter of the encrypted word in the key.
- Go left a number times equal to the offset, wrapping around to the right side of the same row.
- The letter above/below where you ended up becomes your new encrypted letter.
- Take the sum of the offset and the resulting letter, modulo 13.
Example
Encrypted Word: NKUICV
Key: EARNSTBCDFGHIJKLMOPQUVWXYZ
Offset: V -> 22 -> 9